Test Data Generation with A Hybrid Genetic Tabu Search Algorithm for Decision Coverage Criteria

نویسندگان

  • Xin Fan
  • FengYu Yang
  • Wei Zheng
  • QiJun Liang
چکیده

In order to improve the efficiency of test data generation during the software test, many studies have been focusing on the automation of test data generation with metaheuristic techniques such as genetic algorithm and tabu search etc. This paper proposes a hybrid algorithm in combination with genetic algorithm with tabu search to generate the test data based on decision coverage criteria. The hybrid algorithm may improve the global search ability of optimizing the solution of tabu search and local search ability of genetic algorithm; at meanwhile, an approach was described in detail to insert fitness function as stubs in source code, control the prematurity during search iteration, avoid falling into the local optimum and speed up the convergence speed. By applying the hybrid algorithm to the instance program under test, the final result shows that both the decision coverage and the calculation speed have been improved.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Tabu-KM: A Hybrid Clustering Algorithm Based on Tabu Search Approach

  The clustering problem under the criterion of minimum sum of squares is a non-convex and non-linear program, which possesses many locally optimal values, resulting that its solution often falls into these trap and therefore cannot converge to global optima solution. In this paper, an efficient hybrid optimization algorithm is developed for solving this problem, called Tabu-KM. It gathers the ...

متن کامل

Optimizing Cost Function in Imperialist Competitive Algorithm for Path Coverage Problem in Software Testing

Search-based optimization methods have been used for software engineering activities such as software testing. In the field of software testing, search-based test data generation refers to application of meta-heuristic optimization methods to generate test data that cover the code space of a program. Automatic test data generation that can cover all the paths of software is known as a major cha...

متن کامل

Automated Software Testing Using a Metaheuristic Technique Based on Tabu Search

The use of techniques for automating the generation of software test cases is very important as it can reduce the time and cost of this process. The latest methods for automatic generation of tests use metaheuristic search techniques, i.e. Genetic Algorithms and Simulated Annealing. There is a great deal of research into the use of Genetic Algorithms to obtain a specific coverage in software te...

متن کامل

Structural Software Testing: Hybrid Algorithm for Optimal Test Sequence Selection during Regression Testing

Regression testing is one of the testing methods, which is done to ensure that the changes made in fixes or any improvement changes does not affect the previously developed functionality of the software. When modification is done to an application, the newly added features had to be tested along with the already available features to ensure that the modification at one part of the program does ...

متن کامل

Test Cost Optimization Using Tabu Search

In order to deliver a complete reliable software product, testing is performed. As testing phase carries on, cost of testing process increases and it directly affects the overall project cost. Many a times it happens that the actual cost becomes more than the estimated cost. Cost is considered as the most important parameter with respect to software testing, in software industry. In recent year...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015